#include "health_set.h"
#include "ui_health_set.h"

health_set::health_set(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::health_set)
{
    ui->setupUi(this);

}

health_set::~health_set()
{
    delete ui;
}

void health_set::on_OK_clicked()
{
    index = ui->comboBox->currentIndex();
    emit sendData(index);
    this->hide();
}

